﻿using FastCodeGeneration.Core.Framework;
using FastCodeGeneration.Entity;

namespace FastCodeGeneration.IRepository
{
    public interface ITemplateRepository : IBaseRepository<Template>
    {
        List<Template> SelectDefault(string serverTemplate,string viewTemplate);

        bool DeleteByProjectId(int? projectId);

        List<Template> SelectByProjectId(int? projectId);

        IPage<Template> SelectByCondition(Condition condition);

    }
}
